import Vue from 'vue'
import App from './App'
import router from './router'
import fastclick from 'fastclick'	//引入fastclick库	在命令行上在项目目录下用'npm install fastclick --save'进行安装 
import 'styles/reset.css'	//在移动端上统一全部机型样式
import 'styles/border.css'	//在移动端上统一全部机型样式边框
import 'styles/iconfont.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import store from './store'
import 'babel-polyfill'


  

Vue.config.productionTip = false
fastclick.attach(document.body)		//用于解决移动端点击延迟300毫秒的问题
Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
  // components: {App},
  // template: '<App/>'
})

//路由就是根据网址的不同，返回不同的内容给用户
